Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify the sample code in the Location hash property #37022

Merged
merged 8 commits into from
Jan 7, 2025

Conversation

T34-active
Copy link
Contributor

@T34-active T34-active requested a review from a team as a code owner November 29, 2024 01:27
@T34-active T34-active requested review from wbamberg and removed request for a team November 29, 2024 01:27
@github-actions github-actions bot added Content:WebAPI Web API docs size/s [PR only] 6-50 LoC changed labels Nov 29, 2024
Copy link
Contributor

github-actions bot commented Nov 29, 2024

Preview URLs

(comment last updated: 2025-01-07 18:26:42)

console.log(anchor.hash); // '#examples'
</script>
```js
// https://developer.mozilla.org/en-US/docs/Web/API/Location/hash#examples
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we'd better to describe something like the following: assume we've navigated to some-url

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree that this would be clearer.

@@ -18,12 +18,9 @@ A string.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The description above is not correct, see: #37003. We may also fix the issue here.

T34-active and others added 2 commits November 29, 2024 18:01
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@T34-active T34-active requested a review from yin1999 December 2, 2024 01:29
Copy link
Collaborator

@wbamberg wbamberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your PR! I agree with @yin1999 's comment in #37022 (comment).

I also agree with https://github.com/mdn/content/pull/37022/files#r1863057686 - we could fix an issue in this PR as well. But that's optional really since it is unrelated.

@T34-active
Copy link
Contributor Author

Thanks for your PR! I agree with @yin1999 's comment in #37022 (comment).

I also agree with https://github.com/mdn/content/pull/37022/files#r1863057686 - we could fix an issue in this PR as well. But that's optional really since it is unrelated.

I apologize for not addressing the issue in a timely manner, now here's how I'm going to fix it

@T34-active T34-active requested a review from wbamberg January 7, 2025 06:50
wbamberg and others added 2 commits January 7, 2025 09:56
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Copy link
Collaborator

@wbamberg wbamberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 thank you!

@wbamberg wbamberg merged commit 6033c36 into mdn:main Jan 7, 2025
8 checks passed
@T34-active T34-active deleted the location_hash_20241129 branch January 8, 2025 00:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:WebAPI Web API docs size/s [PR only] 6-50 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants